package com.zmzncs.lmtc.module.order.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.zmzncs.lmtc.common.pojo.Rest;
import com.zmzncs.lmtc.common.pojo.bolian.BolianOrderHistoryRes;
import com.zmzncs.lmtc.module.order.pojo.order_Info.BolianOrderHistoryForm;
import com.zmzncs.lmtc.module.order.pojo.order_trade_record.OrderTradeRecord;
import com.zmzncs.lmtc.module.order.pojo.order_trade_record.OrderTradeRecordDTO;

import javax.validation.constraints.NotNull;
import java.util.List;

/**
 * <p>
 * 订单-订单交易记录 服务类
 * </p>
 *
 * @author 任建波
 * @since 2020-09-24
 */
public interface OrderTradeRecordService extends IService<OrderTradeRecord> {

    /**根据订单号查询订单交易记录*/
    List<OrderTradeRecordDTO> getOrderTradeRecordByOrderCode(String orderCode);

    /**根据订单编号查询泊链历史订单*/
    BolianOrderHistoryRes getBolianOrderByOrderCode(String orderCode);

    /**查询泊链历史订单*/
    BolianOrderHistoryRes getBolianOrderHistory(BolianOrderHistoryForm form);

}
